/*
 * Created on March 24, 2007
 * 
 * Copyright (c) Patrick Armstrong 2002-2007. All Rights Reserved
 */
package org.dime.mine.bot;

import org.dime.mine.game.Board;

/**
 * AbstractStrategy // TODO Add type summary
 * 
 * @author Owner
 */
public class AbstractStrategy implements Strategy
{
    /**
     * 
     */
    public AbstractStrategy()
    {}

    /*
     * (non-Javadoc)
     * 
     * @see org.dime.mine.bot.strategy.Strategy#execute(org.dime.mine.game.Board)
     */
    @Override
    public boolean execute(Board board)
    {
        return false;
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.dime.mine.bot.Strategy#execute(org.dime.mine.game.Board, int,
     *      int)
     */
    @Override
    public boolean execute(Board board, int row, int column)
    {
        return execute(board);
    }

    @Override
    public boolean equals(Object o)
    {
        return getClass().isInstance(o);
    }

    @Override
    public int hashCode()
    {
        return getClass().hashCode();
    }
}
